package com.forever.music;

import android.app.Application;
import android.media.MediaPlayer;
import android.widget.ListView;

public class MyApplication extends Application {
	
	public int current;
	private int currDuration;
	private MediaPlayer mp;
	private ListView ac_lv;
	public String[] music_path;
	
	
	public void onCreate() {
         super.onCreate();
        // setDuration (0);
         mp = new MediaPlayer();
	}
	
	public void setDuration (int i) {
		currDuration = i;
		
	}
	
	public void setMp (MediaPlayer mp) {
		this.mp = mp;
		
	}
	
	public void setListView (ListView listView) {
		ac_lv = listView;
		
	}
	
	public int getDuration () {
		return currDuration;
	}
	
	public MediaPlayer getMp () {
		return mp;
	}
	
	public ListView getListView() {
		return ac_lv;
	}
}
